<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	{{include file="../Common/header.html"}}
	<link rel="stylesheet" href="Public/Home/Css/member.css" />
	<script type="text/javascript" src='Public/Home/Js/member.js'></script>
<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
{{include file="../Common/memberLeft.html"}}
<!-- 左侧结束 -->
		<div id='right'>
			<p class='title'>{{if $smarty.session.uid==$smarty.get.uid}}我{{else}}他{{/if}}的提问</p>
			<ul class='ask-filter'>
				<li {{if !$smarty.get.ny}} class='cur' {{/if}}><a href="./index.php?c=Member&a=myAsk&uid={{$smarty.get.uid}}&ny=0">待解决问题</a></li>
				<li {{if $smarty.get.ny==1}} class='cur' {{/if}}><a href="./index.php?c=Member&a=myAsk&uid={{$smarty.get.uid}}&ny=1">已解决问题</a></li>
			</ul>	
			{{if !$smarty.get.ny}}			
				<div class='list list-filter'>
					<table>	
					{{if !$noSolveData}}
						<tr height='140'>
							<td>你还没有待解决的提问</td>
						</tr>	
					{{else}}
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>				
						{{section loop=$noSolveData name=n}}	
						
							<tr>
								<td class='t1'>
									<a href="{{'Ask/index'|U}}&cid={{$noSolveData[n].cid}}&asid={{$noSolveData[n].asid}}">{{$noSolveData[n].content}}</a><span>[{{$noSolveData[n].title}}]</span>
								</td>
								<td>{{$noSolveData[n].answer}}</td>
								<td class='t3'>{{$noSolveData[n].time|date_format:"%Y-%m-%d"}}</td>
							</tr>					
						{{/section}}
					{{/if}}
					</table>
				</div>
			{{/if}}
			{{if $smarty.get.ny}}			
				<div class='list list-filter'>
					<table>
					{{if !$solveData}}	
						<tr height='140'>
							<td>你还没有已解决的提问</td>
						</tr>
					{{else}}
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						{{section loop=$solveData name=s}}
						<tr>
							<td class='t1'>
								<a href="">{{$solveData[s].content}}</a><span>[{{$solveData[s].title}}]</span>
							</td>
							<td>{{$solveData[s].answer}}</td>
							<td class='t3'>{{$solveData[s].time|date_format:"%Y-%m-%d"}}</td>
						</tr>
						{{/section}}
					{{/if}}
					</table>
				</div>
			{{/if}}
		</div>
	</div>
<!--------------------中部结束-------------------->
<!-- 底部 -->
{{include file="../Common/footer.html"}}
<!-- 底部结束 -->